var ui={};
/*加载核心插件*/
ui.core = ['validatebox', 'panel', 'datagrid', 'propertygrid',
           'edatagrid', 'tree', 'window', 'accordion', 'calendar', 'combo',
           'triggerfield', 'combobox', 'combogrid', 'combotree', 'datebox',
           'datetimebox', 'dialog', 'draggable', 'droppable', 'form', 'layout',
           'linkbutton', 'menu', 'menubutton', 'messager', 'numberbox', 'pagination',
           'parser', 'resizable', 'searchbox', 'splitbutton', 'tabs', 'treegrid',
           'spinner', 'numberspinner', 'timespinner'];
           
for ( var i = 0; i < ui.core.length; i++) {
	document.writeln('<script type="text/javascript" src="' + ctx + '/ui/plugins/jquery.' + ui.core[i] + '.js"></script>');
};
/**工具类*/
document.writeln('<script type="text/javascript" src="' + ctx + '/ui/locale/easyui-lang-zh_CN.js"></script>');
document.writeln('<script type="text/javascript" src="' + ctx + '/ui/extendValid.js"></script>');
document.writeln('<script type="text/javascript" src="' + ctx + '/ui/cqoa-util.js"></script>');
/**
 * 上传附件
 */
document.writeln('<script type="text/javascript" src="' + ctx + '/ui/file/jquery.MultiFile.js"></script>');
document.writeln('<script type="text/javascript" src="' + ctx + '/ui/file/jquery.uploadify.js"></script>');
document.writeln('<script type="text/javascript" src="' + ctx + '/ui/file/jquery.form.js"></script>');
document.writeln('<script type="text/javascript" src="' + ctx + '/ui/file/fileUpload.js"></script>');